package com.yeskery.nut.web.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeskery.nut.annotation.api.ApiModel;
import com.yeskery.nut.annotation.api.ApiModelProperty;
import lombok.Data;

/**
 * 用户钱包
 * @author Yeskery
 * 2023/7/28
 */
@Data
@ApiModel("用户钱包")
@TableName("tbl_wallet")
public class Wallet {

    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Integer userId;

    /**
     * 积分数量
     */
    @ApiModelProperty("积分数量")
    private Integer point;
}
